500 |
How can I change the foreground color of the HTML text or caption of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/6/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarCaption] := '<bgcolor=FF0000> to do </bgcolor>'; ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarForeColor] := TObject(16777215); end; end |
499 |
How can I assign a tooltip to a bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarToolTip] := 'This is a bit of text that''s displayed when the cursor hovers the bar'; end; end |
498 |
How can I vertically align the HTML text or caption of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); ItemHeight[h] := 32; AddBar(h,'Task','1/2/2001','1/6/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarCaption] := '<bgcolor=FF0000> to do </bgcolor>'; ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarVAlignCaption] := TObject(0); end; end |
497 |
How can I align the HTML text or caption of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/6/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarCaption] := '<bgcolor=FF0000> to do </bgcolor>'; ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarHAlignCaption] := TObject(0); end; end |
496 |
How can I assign a text or some HTML caption to a bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/6/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarCaption] := ' <bgcolor=FF0000>to do</bgcolor> '; end; end |
495 |
How can I change the ending date of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarEnd] := '1/6/2001'; end; end |
494 |
How can I change the starting date of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarStart] := '1/1/2001'; end; end |
493 |
How can I change the style or the name of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarName] := 'Progress'; end; end |
492 |
How can I access properties and methods of the bar in the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ItemBar[h,'K1',EXGANTTLib.ItemBarPropertyEnum.exBarName] := 'Progress'; end; end |
491 |
How can I remove all bars in the item
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); ClearBars(h); end; end |
490 |
How can I remove a bar from the chart
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin h := AddItem('Task 1'); AddBar(h,'Task','1/2/2001','1/4/2001','K1',Nil); RemoveBar(h,'K1'); end; end |
489 |
How can I add a bar and some text inside, in the chart area
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin AddBar(AddItem('Task 1'),'Task','1/2/2001','1/6/2001',Nil,' to do '); end; end |
488 |
How can I add a bar and some text inside, in the chart area
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin AddBar(AddItem('Task 1'),'Task','1/2/2001','1/6/2001',Nil,'<bgcolor=FF0000> to do </bgcolor>'); end; end |
487 |
How can I add an anchor or a hyperline in the chart area
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin AddBar(AddItem('Task 1'),'','1/2/2001','1/14/2001',Nil,'just a <a1>link</a>'); end; end |
486 |
How can I add some text or captions in the chart area
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin AddBar(AddItem('Task 1'),'','1/2/2001','1/14/2001',Nil,'just a <b>caption</b>'); end; end |
485 |
How can I add a bar in the chart area
with AxGantt1 do begin Columns.Add('Task'); Chart.FirstVisibleDate := '1/1/2001'; with Items do begin AddBar(AddItem('Task 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
484 |
Is there any option to put a picture or an icon to the thumb part of the scroll bar
with AxGantt1 do begin Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exThumbPart,'<img>1</img>'); set_ScrollThumbSize(EXGANTTLib.ScrollBarEnum.exHChartScroll,24); end |
483 |
How can I scroll fast the chart, or page by page
with AxGantt1 do begin Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); ScrollHeight := 20; ScrollButtonWidth := 20; AllowChartScrollPage := True; set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exLeftB5Part,'<img>1</img>'); set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exRightB1Part,'<img>2</img>'); end |
482 |
How can I scroll fast the chart, or page by page
with AxGantt1 do begin ScrollButtonWidth := 16; AllowChartScrollPage := True; set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exLeftB5Part,'<<'); set_ScrollPartCaption(EXGANTTLib.ScrollBarEnum.exHChartScroll,EXGANTTLib.ScrollPartEnum.exRightB1Part,'>>'); end |
481 |
How can I scroll fast the chart, or page by page
with AxGantt1 do begin AllowChartScrollPage := True; end |
480 |
How can I display years, from 3 to 3
with AxGantt1 do begin Chart.UnitWidth := 64; with Chart.Level[0] do begin Label := '<%yyyy%>'; Unit := EXGANTTLib.UnitEnum.exYear; Count := 3; end; end |
479 |
How can I display years
with AxGantt1 do begin Chart.UnitWidth := 64; with Chart.Level[0] do begin Label := '<%yy%>'; Unit := EXGANTTLib.UnitEnum.exYear; end; end |
478 |
How can I display years
|
477 |
How can I display months, from 3 to 3
with AxGantt1 do begin Chart.FirstVisibleDate := '1/1/2001'; Chart.LevelCount := 2; Chart.UnitWidth := 64; Chart.Level[0].Label := TObject(1); with Chart.Level[1] do begin Label := '<%mmmm%>'; Unit := EXGANTTLib.UnitEnum.exMonth; Count := 3; end; end |
476 |
How can I display months
with AxGantt1 do begin Chart.UnitWidth := 64; Chart.LevelCount := 2; Chart.Level[0].Label := TObject(1); with Chart.Level[1] do begin Label := '<%mmmm%>/<%yy%>'; Unit := EXGANTTLib.UnitEnum.exMonth; end; end |
475 |
How can I display months
with AxGantt1 do begin Chart.LevelCount := 2; Chart.UnitWidth := 64; Chart.Level[0].Label := TObject(1); Chart.Level[1].Label := TObject(16); end |
474 |
How can I display weeks
with AxGantt1 do begin Chart.LevelCount := 2; Chart.UnitWidth := 64; Chart.Level[0].Label := TObject(17); Chart.Level[1].Label := TObject(256); end |
473 |
How can I display weeks
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(17); Chart.Level[1].Label := '<%ww%>'; end |
472 |
How can I display days, from 2 to 2
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(256); with Chart.Level[1] do begin Label := '<%dd%>'; Count := 2; end; end |
471 |
How can I display days
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(256); Chart.Level[1].Label := '<%dd%>'; end |
470 |
How can I display days
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(256); Chart.Level[1].Label := TObject(4096); end |
469 |
How can I display hours, from 6 to 6
with AxGantt1 do begin Chart.FirstVisibleDate := '00:00'; Chart.LevelCount := 2; Chart.Level[0].Label := TObject(4096); with Chart.Level[1] do begin Label := '<%hh%>'; Count := 6; end; end |
468 |
How can I display hours
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(4096); Chart.Level[1].Label := '<%hh%>'; end |
467 |
How can I display hours
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(4096); Chart.Level[1].Label := TObject(65536); end |
466 |
How can I display minutes, from 15 to 15
with AxGantt1 do begin Chart.FirstVisibleDate := '00:00'; Chart.LevelCount := 2; Chart.Level[0].Label := TObject(65536); with Chart.Level[1] do begin Label := '<%nn%>'; Count := 15; end; end |
465 |
How can I display minutes
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(65536); Chart.Level[1].Label := '<%nn%>'; end |
464 |
How can I display minutes
with AxGantt1 do begin Chart.LevelCount := 2; Chart.UnitWidth := 64; Chart.Level[0].Label := TObject(65536); Chart.Level[1].Label := TObject(1048576); end |
463 |
How can I display seconds, from 15 to 15
with AxGantt1 do begin Chart.FirstVisibleDate := '00:00'; Chart.LevelCount := 2; Chart.Level[0].Label := TObject(1048576); with Chart.Level[1] do begin Label := '<%ss%>'; Count := 15; end; end |
462 |
How can I display seconds
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(1048576); Chart.Level[1].Label := '<%ss%>'; end |
461 |
How can I display seconds
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].Label := TObject(1048576); Chart.Level[1].Label := TObject(16777216); end |
460 |
How can I align the text being shown in the chart's header
|
459 |
How can I hide the tooltip being displayed in the chart's header
|
458 |
How can I change the tooltip being displayed in the chart's header
|
457 |
How can I change the visual appearance of the chart's header, where levels are displayed, using your EBN files
with AxGantt1 do begin VisualAppearance.Add(1,'c:\exontrol\images\normal.ebn'); Chart.LevelCount := 2; Chart.BackColorLevelHeader := $1000000; end |
456 |
How can I change the level's foreground color in the chart
with AxGantt1 do begin Chart.LevelCount := 2; Chart.Level[0].ForeColor := $ff; Chart.Level[1].ForeColor := $ff0000; end |
455 |
How can I change the level's background color in the chart
|
452 |
How can I add icons or pictures to the scale or zoom area
with AxGantt1 do begin set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif'); Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); with Chart do begin OverviewHeight := 48; OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exZoomOnRClick; OverviewZoomCaption := 'Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec'; Label[EXGANTTLib.UnitEnum.exYear] := ''; Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Label[EXGANTTLib.UnitEnum.exThirdMonth] := ''; Label[EXGANTTLib.UnitEnum.exHour] := ''; Label[EXGANTTLib.UnitEnum.exMinute] := ''; Label[EXGANTTLib.UnitEnum.exSecond] := ''; OverviewZoomUnit := 52; end; Columns.Add(''); with Items do begin CellSingleLine[TObject(AddItem('Right click the Overview area and select a new scale')),TObject(0)] := EXGANTTLib.CellSingleLineEnum.exCaptionWordWrap; end; end |
451 |
How can I add icons or pictures to the scale or zoom area
with AxGantt1 do begin set_HTMLPicture('pic1','c:\exontrol\images\zipdisk.gif'); Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); with Chart do begin OverviewHeight := 48; OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exAlwaysZoom; OverviewZoomCaption := 'Year|½Year|¼Year|<img>3</img> Week|Third|<img>2</img> Day|<img>pic1</img>|Hour|Min|Sec'; Label[EXGANTTLib.UnitEnum.exYear] := ''; Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Label[EXGANTTLib.UnitEnum.exThirdMonth] := ''; Label[EXGANTTLib.UnitEnum.exHour] := ''; Label[EXGANTTLib.UnitEnum.exMinute] := ''; Label[EXGANTTLib.UnitEnum.exSecond] := ''; OverviewZoomUnit := 52; end; end |
450 |
How can I change the width of the unit in the scale or zoom
|
449 |
How can I a scale or zoom of the chart, when right clicking the chart's header
with AxGantt1 do begin Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); with Chart do begin OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exZoomOnRClick; OverviewZoomCaption := 'Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec'; Label[EXGANTTLib.UnitEnum.exYear] := ''; Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Label[EXGANTTLib.UnitEnum.exThirdMonth] := ''; Label[EXGANTTLib.UnitEnum.exHour] := ''; Label[EXGANTTLib.UnitEnum.exMinute] := ''; Label[EXGANTTLib.UnitEnum.exSecond] := ''; OverviewZoomUnit := 64; end; Columns.Add(''); with Items do begin CellSingleLine[TObject(AddItem('Right click the Overview area and select a new scale')),TObject(0)] := EXGANTTLib.CellSingleLineEnum.exCaptionWordWrap; end; end |
448 |
How can I a customize the scale or zoom of the chart
with AxGantt1 do begin Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); with Chart do begin OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exAlwaysZoom; OverviewZoomCaption := 'Year|½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec'; Label[EXGANTTLib.UnitEnum.exYear] := ''; Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Label[EXGANTTLib.UnitEnum.exThirdMonth] := ''; Label[EXGANTTLib.UnitEnum.exHour] := ''; Label[EXGANTTLib.UnitEnum.exMinute] := ''; Label[EXGANTTLib.UnitEnum.exSecond] := ''; OverviewZoomUnit := 64; end; end |
447 |
How can I a scale or zoom the chart at runtime
with AxGantt1 do begin Images('gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTql' + 'Vq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m0' + 'ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/yN' + 'AOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA='); with Chart do begin OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exAlwaysZoom; OverviewZoomCaption := '½Year|¼Year|<img>3</img>Month|Third|<img>2</img>Week|<img>1</img>Day|Hour|Min|Sec'; end; end |
446 |
How can I a scale or zoom the chart at runtime
with AxGantt1 do begin with Chart do begin OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; AllowOverviewZoom := EXGANTTLib.OverviewZoomEnum.exAlwaysZoom; OverviewZoomUnit := 24; end; end |
445 |
How can I a programmatically select a date
with AxGantt1 do begin Chart.MarkSelectDateColor := $ff; Chart.FirstVisibleDate := '1/1/2001'; Chart.SelectDate['1/2/2001'] := True; Chart.SelectDate['1/5/2001'] := True; Chart.SelectLevel := 0; end |
444 |
How can I change the color to select a date, when clicking the chart's header
|
443 |
How can I enable or disable selecting a date, when clicking the chart's header
|
442 |
How can I specify the color or the stype for non working hours
with AxGantt1 do begin Chart.UnitScale := EXGANTTLib.UnitEnum.exHour; Chart.PaneWidth[False] := 0; Chart.NonworkingHours := 127; Chart.NonworkingHoursPattern := EXGANTTLib.PatternEnum.exPatternYard; Chart.NonworkingHoursColor := $ff; end |
441 |
How can I specify the pattern or the stype for non working hours
with AxGantt1 do begin Chart.UnitScale := EXGANTTLib.UnitEnum.exHour; Chart.PaneWidth[False] := 0; Chart.NonworkingHours := 127; Chart.NonworkingHoursPattern := EXGANTTLib.PatternEnum.exPatternDiagCross; end |
440 |
How can I specify the non working hours
with AxGantt1 do begin Chart.UnitScale := EXGANTTLib.UnitEnum.exHour; Chart.PaneWidth[False] := 0; Chart.NonworkingHours := 127; end |
439 |
How can I get the index of the level from the point or cursor
|
438 |
How can I get the link from the point or cursor
|
437 |
How can I check or verify if a date is a non working day
|
436 |
How can I check or verify if a date fits the chart's visible area
|
435 |
How can I add a remove all non working days
|
434 |
How can I add a remove a non working days
|
433 |
How can I add a custom non working days
with AxGantt1 do begin Chart.NonworkingDays := 0; Chart.FirstVisibleDate := '1/1/2001'; Chart.AddNonworkingDate('1/1/2001'); Chart.AddNonworkingDate('1/5/2001'); end |
432 |
How can hide the non working days
with AxGantt1 do begin Chart.ShowNonworkingDates := False; end |
431 |
How can hide the non working days
|
430 |
How can I change the width of the links between bars
with AxGantt1 do begin Chart.LinksStyle := EXGANTTLib.LinkStyleEnum.exLinkSolid; Chart.LinksWidth := 2; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001','B1',Nil); AddBar(AddItem('Item 2'),'Task','1/6/2001','1/14/2001','B2',Nil); AddLink('L1',FindItem['Item 1',TObject(0),Nil],'B1',FindItem['Item 2',TObject(0),Nil],'B2'); end; end |
429 |
How can I change the style for the links between bars
with AxGantt1 do begin Chart.LinksStyle := EXGANTTLib.LinkStyleEnum.exLinkDashDotDot; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001','B1',Nil); AddBar(AddItem('Item 2'),'Task','1/6/2001','1/14/2001','B2',Nil); AddLink('L1',FindItem['Item 1',TObject(0),Nil],'B1',FindItem['Item 2',TObject(0),Nil],'B2'); end; end |
428 |
How can I change the color for the links between bars
with AxGantt1 do begin Chart.LinksColor := $ff; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001','B1',Nil); AddBar(AddItem('Item 2'),'Task','1/6/2001','1/14/2001','B2',Nil); AddLink('L1',FindItem['Item 1',TObject(0),Nil],'B1',FindItem['Item 2',TObject(0),Nil],'B2'); end; end |
427 |
How can I hide the links between bars
with AxGantt1 do begin Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001','B1',Nil); AddBar(AddItem('Item 2'),'Task','1/6/2001','1/14/2001','B2',Nil); AddLink('L1',FindItem['Item 1',TObject(0),Nil],'B1',FindItem['Item 2',TObject(0),Nil],'B2'); end; Chart.ShowLinks := False; end |
426 |
How can I display some grid line in the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewLevelLines := 0; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); AddBar(AddItem('Item 1'),'Task','1/6/2001','1/14/2001',Nil,Nil); end; end |
425 |
How do I change the tooltip when the cursor hovers the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewToolTip := 'Tooltip on the overview'; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); AddBar(AddItem('Item 1'),'Task','1/6/2001','1/14/2001',Nil,Nil); end; end |
424 |
How do I remove the tooltip when the cursor hovers the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewToolTip := ''; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
423 |
How do I change the selection color in the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewSelBackColor := $ff; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
422 |
How do I change the background color for the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewBackColor := $ff; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
421 |
How do I specify the height for the overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.OverviewHeight := 16; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
420 |
How do I show or hide the control's overview area
with AxGantt1 do begin Chart.OverviewVisible := EXGANTTLib.OverviewVisibleEnum.exOverviewShowAll; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'Task','1/2/2001','1/4/2001',Nil,Nil); end; end |
419 |
How do I get the bar from the point or cursor
|
418 |
How do I specify the color of pattern for non working days
|
417 |
How do I specify the type of pattern for non working days
|
416 |
How do I specify the non working days
|
415 |
How do I specify the non working days
|
414 |
How do I add a predefined bar
with AxGantt1 do begin Chart.Bars.Add('CustomBar').Color := $ff; Chart.FirstVisibleDate := '1/1/2001'; Columns.Add('Column'); with Items do begin AddBar(AddItem('Item 1'),'CustomBar','1/2/2001','1/4/2001',Nil,Nil); end; end |
413 |
How do I change the unit being displayed in the chart
with AxGantt1 do begin Chart.PaneWidth[False] := 0; Chart.UnitScale := EXGANTTLib.UnitEnum.exWeek; Chart.UnitWidth := 64; end |
412 |
How do I specify the prodefined tooltip being shown on the chart's header, when Zoom method is used
with AxGantt1 do begin Chart.PaneWidth[False] := 0; Chart.LevelCount := 2; Chart.Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exMonth] := '<%m3%>'; Chart.LabelToolTip[EXGANTTLib.UnitEnum.exMonth] := 'Tooltip: <%mmmm%>'; Chart.Zoom('1/1/2007','1/1/2008',Nil); Chart.FirstVisibleDate := '1/1/2007'; end |
411 |
How do I specify the prodefined labels being displayed on the chart, when Zoom method is used
with AxGantt1 do begin Chart.PaneWidth[False] := 0; Chart.LevelCount := 2; Chart.Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exMonth] := '<%m3%>'; Chart.Zoom('1/1/2007','1/1/2008',Nil); Chart.FirstVisibleDate := '1/1/2007'; end |
410 |
How do I scale or zoom the chart to a specified range of date
with AxGantt1 do begin Chart.PaneWidth[False] := 0; Chart.LevelCount := 2; Chart.Label[EXGANTTLib.UnitEnum.exHalfYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exQuarterYear] := ''; Chart.Label[EXGANTTLib.UnitEnum.exMonth] := '<%m3%>'; Chart.Zoom('1/1/2007','1/1/2008',Nil); Chart.FirstVisibleDate := '1/1/2007'; end |
409 |
How do I scale or zoom the chart to a specified range of date
with AxGantt1 do begin Chart.PaneWidth[False] := 0; Chart.LevelCount := 2; Chart.Zoom('1/1/2007','7/1/2007',Nil); Chart.FirstVisibleDate := '1/1/2007'; end |
408 |
How do I find the next date or previous date
|
407 |
How can I change the color for the grid lines in the chart
with AxGantt1 do begin Chart.DrawGridLines := EXGANTTLib.GridLinesEnum.exAllLines; Chart.LevelCount := 2; with Chart.Level[1] do begin DrawGridLines := True; GridLineColor := $ff; end; end |
406 |
How can I draw, show or hide the grid lines in the chart
with AxGantt1 do begin Chart.DrawGridLines := EXGANTTLib.GridLinesEnum.exAllLines; Chart.LevelCount := 2; Chart.Level[1].DrawGridLines := True; end |
405 |
How do I change the color to highlight the today in the chart
|
404 |
How do I hide or stop highlighting the today area in the chart
with AxGantt1 do begin Chart.BackColor := $ffffff; Chart.MarkTodayColor := $ffffff; end |
403 |
Is there any function to get the date in the format that I use for levels, to layout my chart's header
|
402 |
How can I get the date from the point, cursor
|
401 |
How can I show or hide the small ticker that shows up when the cursor hovers the chart area
with AxGantt1 do begin Chart.DrawDateTicker := False; end |